package com.booksystem.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import lombok.Data;

/**
 * <p>
 *   促销优惠券查询条件传输对象
 * </p>
 * @author 段伟豪
 */
@Data
@ApiModel(description = "促销优惠券查询条件")
public class PromotionCouponQueryDTO {

    /**
     * 当前页码
     */
    @Min(value = 1, message = "当前页码必须大于等于1")
    @ApiModelProperty(value = "当前页码")
    private Integer currentPage = 1;

    /**
     * 每页大小
     */
    @Min(value = 1, message = "每页大小必须大于等于1")
    @ApiModelProperty(value = "每页大小")
    private Integer pageSize = 10;

    /**
     * 优惠券名称
     */
    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
}